package com.liang.threaddemo8;

public class Demo {
    public static void main(String[] args) {
        Foodie f = new Foodie();
        Cookie c = new Cookie();

        f.setName("吃货");
        c.setName("厨师");

        f.start();
        c.start();
    }

}
